package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 标签
 *
 * @author flyme
 * @date 2021-08-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_tag")
@TableAlias("busTag")
@ApiModel(value = "BusTag对象", description = "标签")
public class BusTag extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "tagId", type = IdType.ASSIGN_ID)
    private Long tagId;

    @ApiModelProperty(value = "标签名称")
    private String tagName;

    @ApiModelProperty(value = "标签排序")
    private Integer tagSort;

    @ApiModelProperty(value = "标签状态")
    private Integer tagState;

    @ApiModelProperty(value = "标签分组(1用户,2学霸)")
    private Integer tagGroup;

}
